{$CLEO .cs}

0000:


:key
repeat
wait 0
until 0ab0: 55
player.CanMove(0) = false
 

8@ = false 
0@ = 1                                                           
while true
    wait 0
    if 0ab0: 56
    then 
        if 056D:   actor 30@ defined
        then
            Actor.RemoveReferences(30@)
            03E6: remove_text_box
            player.CanMove(0) = true 
            goto @key
        end
    end
    0513: show_text_box_1number 'number' number 0@  // ~k~~VEHICLE_ENTER_EXIT~ Use Slot Machine $~1~

                             
                        0ACD: show_text_highpriority "~y~~H~PRESS ~<~ OR ~>~ TO select woman" time 5000
                        0494: get_joystick 0 direction_offset_to 3@ 4@ 5@ 5@
                        if not 3@ > 0
                        jf @next
                        if not 0 > 3@
                        jf @prew
                        continue
                        
                        :next
                        if not 0@ >= 54                                         
                        then                                                     
                            if 33@ >= 100 //[33@]
                            then 33@ = 0                                                                                    
                                0@ += 1                                                 
                                018C: play_sound 1052 at 0.0 0.0 0.0
                                goto @go
                            
                            end                    
                        end
                        continue
                                                                                  
                        :prew    
                        if 0@ > 1                                             
                        then                                                   
                            if 33@ >= 100 //[33@]
                            then 33@ = 0                                         
                                0@ -= 1                                           
                                018C: play_sound 1052 at 0.0 0.0 0.0
                                goto @go
                            
                            end                
                        end                                                    
                        continue
                            
                        :go
                        IF AND
                            5@ >= 0
                            288 >= 5@
                        JF CONTINUE
                        if 8@ == true                                                              
                        then 
                            if 056D:   actor 30@ defined
                            then
                                Actor.RemoveReferences(30@)
                            end                                            
                            8@ = false                                                             
                        end                                                                         
                        if 0@ == 1                                                                                           
                        then 5@ =  #VBFYST2                                                 
                              jump @break                                                                                            
                        end // 2C38                                                                                            
                        if 0@ == 2                                                                                           
                        then 5@ =  #BFYPRO                                                  
                              jump @break                                                                                            
                        end // 2C63                                                                                            
                        if 0@ == 3                                                                                           
                        then 5@ =  #SHFYPRO                                                 
                              jump @break                                                                                            
                        end // 2C8F                                                                                            
                        if 0@ == 4                                                                                           
                        then 5@ =  #VBFYPRO                                                 
                              jump @break                                                                                            
                        end // 2CBB                                                                                            
                        if 0@ == 5                                                                                           
                        then 5@ =  #BFYBE                                                   
                              jump @break                                                                                            
                        end // 2CE7                                                                                            
                        if 0@ == 6                                                                                           
                        then 5@ =  #VHFYST3                                                 
                              jump @break                                                                                            
                        end // 2D13                                                                                            
                        if 0@ == 7                                                                                           
                        then 5@ =  #WFYPRO                                                  
                              jump @break                                                                                            
                        end // 2D3F                                                                                            
                        if 0@ == 8                                                                                           
                        then 5@ =  #VHFYPRO                                                 
                              jump @break                                                                                            
                        end // 2D6B                                                                                            
                        if 0@ == 9                                                                                           
                        then 5@ =  #SBFYPRO                                                 
                              jump @break                                                                                            
                        end // 2D97                                                                                            
                        if 0@ == 10                                                                                          
                        then 5@ =  #VWFYST1                                                 
                              jump @break                                                                                            
                        end // 2DC2                                                                                            
                        if 0@ == 11                                                                                          
                        then 5@ =  #SFYPRO                                                  
                              jump @break                                                                                            
                        end // 2DEE                                                                                            
                        if 0@ == 12                                                                                          
                        then 5@ =  #WFYSEX                                                  
                              jump @break                                                                                            
                        end // 2E1A                                                                                            
                        if 0@ == 13                                                                                          
                        then 5@ =  #HFYPRO                                                  
                              jump @break                                                                                            
                        end // 2E45                                                                                            
                        if 0@ == 14                                                                                          
                        then 5@ =  #SBFYSTR                                                 
                              jump @break                                                                                            
                        end // 2E71                                                                                            
                        if 0@ == 15                                                                                          
                        then 5@ =  #SWFOPRO                                                 
                              jump @break                                                                                            
                        end // 2E9C                                                                                            
                        if 0@ == 16                                                                                          
                        then 5@ =  #SWFYSTR                                                 
                              jump @break                                                                                            
                        end // 2EC8                                                                                            
                        if 0@ == 17                                                                                          
                        then 5@ =  #VWFYPRO                                                 
                              jump @break                                                                                            
                        end // 2EF3                                                                                            
                        if 0@ == 18                                                                                          
                        then 5@ =  #BFYBU                                                   
                              jump @break                                                                                            
                        end // 2F1F                                                                                            
                        if 0@ == 19                                                                                          
                        then 5@ =  #HFYBE                                                   
                              jump @break                                                                                            
                        end // 2F4B                                                                                            
                        if 0@ == 20                                                                                          
                        then 5@ =  #SWFYST                                                  
                              jump @break                                                                                            
                        end // 2F77                                                                                            
                        if 0@ == 21                                                                                          
                        then 5@ =  #SOFYST                                                  
                              jump @break                                                                                            
                        end // 2FA3                                                                                            
                        if 0@ == 22                                                                                          
                        then 5@ =  #SOFORI                                                  
                              jump @break                                                                                            
                        end // 2FCF                                                                                            
                        if 0@ == 23                                                                                          
                        then 5@ =  #SBFYRI                                                  
                              jump @break                                                                                            
                        end // 2FFB                                                                                            
                        if 0@ == 24                                                                                          
                        then 5@ =  #SWFYRI                                                  
                              jump @break                                                                                            
                        end // 3027                                                                                            
                        if 0@ == 25                                                                                          
                        then 5@ =  #CWFYHB                                                  
                              jump @break                                                                                            
                        end // 3053                                                                                            
                        if 0@ == 26                                                                                          
                        then 5@ =  #DNFYLC                                                  
                              jump @break                                                                                            
                        end // 307F                                                                                            
                        if 0@ == 27                                                                                          
                        then 5@ =  #WFYST                                                   
                              jump @break                                                                                            
                        end // 30AA                                                                                            
                        if 0@ == 28                                                                                          
                        then 5@ =  #WFYRI                                                   
                              jump @break                                                                                            
                        end // 30D5                                                                                            
                        if 0@ == 29                                                                                          
                        then 5@ =  #WFYJG                                                   
                              jump @break                                                                                            
                        end // 3100                                                                                            
                        if 0@ == 30                                                                                          
                        then 5@ =  #WFORI                                                   
                              jump @break                                                                                            
                        end // 312B                                                                                            
                        if 0@ == 31                                                                                          
                        then 5@ =  #WFYBE                                                   
                              jump @break                                                                                            
                        end // 3157                                                                                            
                        if 0@ == 32                                                                                          
                        then 5@ =  #SOFYBU                                                  
                              jump @break                                                                                            
                        end // 3183                                                                                            
                        if 0@ == 33                                                                                          
                        then 5@ =  #WFYBU                                                   
                              jump @break                                                                                            
                        end // 31AF                                                                                            
                        if 0@ == 34                                                                                          
                        then 5@ =  #WFYRO                                                   
                              jump @break                                                                                            
                        end // 31DA                                                                                            
                        if 0@ == 35                                                                                          
                        then 5@ =  #DWFYLC1                                                 
                              jump @break                                                                                            
                        end // 3206                                                                                            
                        if 0@ == 36                                                                                          
                        then 5@ =  #CWFYFR1                                                 
                              jump @break                                                                                            
                        end // 3232                                                                                            
                        if 0@ == 37                                                                                          
                        then 5@ =  #SOFYRI                                                  
                              jump @break                                                                                            
                        end // 325E                                                                                            
                        if 0@ == 38                                                                                          
                        then 5@ =  #DWFYLC2                                                 
                              jump @break                                                                                            
                        end // 328A                                                                                            
                        if 0@ == 39                                                                                          
                        then 5@ =  #SBFORI                                                  
                              jump @break                                                                                            
                        end // 32B6                                                                                            
                        if 0@ == 40                                                                                          
                        then 5@ =  #SOFOST                                                  
                              jump @break                                                                                            
                        end // 32E2                                                                                            
                        if 0@ == 41                                                                                          
                        then 5@ =  #BFORI                                                   
                              jump @break                                                                                            
                        end // 330D                                                                                            
                        if 0@ == 42                                                                                          
                        then 5@ =  #BFYST                                                   
                              jump @break                                                                                            
                        end // 3338                                                                                            
                        if 0@ == 43                                                                                          
                        then 5@ =  #WFYSTEW                                                 
                              jump @break                                                                                            
                        end // 3363                                                                                            
                        if 0@ == 44                                                                                          
                        then 5@ =  #SBFYST                                                  
                              jump @break                                                                                            
                        end // 338E                                                                                            
                        if 0@ == 45                                                                                          
                        then 5@ =  #COPGRL3                                                 
                              jump @break                                                                                            
                        end // 33BA                                                                                            
                        if 0@ == 46                                                                                          
                        then 5@ =  #OFORI                                                   
                              jump @break                                                                                            
                        end // 33E5                                                                                            
                        if 0@ == 47                                                                                          
                        then 5@ =  #OFYRI                                                   
                              jump @break                                                                                            
                        end // 3410                                                                                            
                        if 0@ == 48                                                                                          
                        then 5@ =  #CROGRL3                                                 
                              jump @break                                                                                            
                        end // 343C                                                                                            
                        if 0@ == 49                                                                                          
                        then 5@ =  #BFYRI                                                   
                              jump @break                                                                                            
                        end // 3467                                                                                            
                        if 0@ == 50                                                                                          
                        then 5@ =  #HFORI                                                   
                              jump @break                                                                                            
                        end // 3492                                                                                            
                        if 0@ == 51                                                                                          
                        then 5@ =  #HFYST                                                   
                              jump @break                                                                                            
                        end // 34BD                                                                                            
                        if 0@ == 52                                                                                          
                        then 5@ =  #SWFORI                                                  
                              jump @break                                                                                            
                        end // 34E9                                                                                            
                        if 0@ == 53                                                                                          
                        then 5@ =  #GUNGRL3                                                 
                              jump @break                                                                                            
                        end // 3515                                                                                            
                        if 0@ == 54                                                                                          
                        then 5@ =  #OFYST                                                   
                              jump @break                                                                                            
                        end // 3540
                        continue
                                                                                         
                        :break
                        Model.Load(5@)                                       
                        038B: load_requested_models                                                                                                                                                            
                        while not model.Available(5@)                                                                                                                                                    
                             03F0: enable_text_draw 0                                                                                                                                                          
                             0ACD: show_text_highpriority "~r~~h~the problem has serious errors~s~(~y~~h~your skins have bugs~s~)" time 50000                                                                  
                             
                             goto @rrr                                                                                                                                                                     
                        end
                        04C4: store_coords_to 24@ 25@ 26@ from_actor $PLAYER_ACTOR with_offset 0.0 3.0 -1.0                                                                                                                                                                                    
                        30@ = Actor.Create(Prostitute, 5@, 24@, 25@, 26@)
                        0639: AS_actor 30@ rotate_to_actor $PLAYER_ACTOR
                        8@ = true
                        0812: AS_actor 30@ perform_animation "ENDCHAT_03" IFP "PED" framedelta 4.0 loopA 0 lockX 1 lockY 1 lockF 0 time -1 // versionB   
                        :rrr
end


                             